package com.uy.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author LY
 * @create 2024/3/25 11:22
 * @Description 认证
 */
@Data
@Builder
@Schema(description = "登录响应对象")
public class LoginVo implements Serializable {

    private static final long serialVersionUID = 7716450677740158010L;

    @Schema(description = "访问token")
    private String accessToken;

    @Schema(description = "token 类型",example = "Bearer")
    private String tokenType;

    @Schema(description = "刷新token")
    private String refreshToken;

    @Schema(description = "过期时间(单位：毫秒)")
    private Long expires;

    @Schema(description = "用户信息")
    private SysUserVo userVo;
}
